package com.atguigu.gulimail.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimail.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author xiaozheng
 * @email 924155240@qq.com
 * @date 2021-01-29 17:26:54
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

	/**
	 * 查出当前所有分类菜单
	 * @return
	 */
    List<CategoryEntity> listWithTree();

	void removeMenuByIds(List<Long> asList);

	Long[] findCatelogPath(Long catelogId);

	/**
	 *级联更新
	 * @param category
	 */
	void updateDetail(CategoryEntity category);
}

